<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:rich="http://richfaces.org/rich"> 

<h:head></h:head> 
<body> 
<h:form>
<p:panel header="Processo Bem">
<p:panelGrid columns="2">

	ID: <p:inputText value="#{processoBemBean.processoBem.id}"></p:inputText>
	Bem:
		<h:selectOneMenu value="#{processoBemBean.processoBem.transfBem}"
					converter="transfBemConverter">
					<f:selectItems value="#{transfBem.buscarTodos}"
					var="tfBem" itemLabel="#{tfBem.nome}"></f:selectItems>
					
		</h:selectOneMenu>
		
		
	Numero Processo: <p:inputText value="#{processoBemBean.processoBem.numero}"></p:inputText>
	Operacao: <p:inputText value="#{processoBemBean.processoBem.operacao}"></p:inputText>
	NFI: <p:inputText value="#{processoBemBean.processoBem.nfi}" />
	Prazo: <p:inputText value="#{processoBemBean.processoBem.prazo}"></p:inputText>
	Vencimento: <p:inputMask value="#{processoBemBean.processoBem.vencimento}" mask="99/99/9999"><f:convertDateTime pattern="dd/MM/yyyy"/></p:inputMask>
	Status: <p:inputText value="#{processoBemBean.processoBem.nfi}" />
	Sitação: <p:inputText value="#{processoBemBean.processoBem.nfi}" />
	GTM: <p:inputText value="#{processoBemBean.processoBem.gtm}" />
	Romaneio: <p:inputText value="#{processoBemBean.processoBem.nfi}" />
	Acao: <p:inputText value="#{processoBemBean.processoBem.nfi}" />
	 
	
		
	
</p:panelGrid>
</p:panel>
<h:form>
		<p:commandButton value="Salvar" size="10" action="#{transfBemBean.salvar()}" ajax="false"></p:commandButton>
		<p:commandButton value="Menu" action="#{menuBean.index}" ajax="false"></p:commandButton>	
		<p:commandButton value="Lista Contato" action="#{menuBean.listaContato}" ajax="false"></p:commandButton>
		
		<rich:menuItem>
				
			</rich:menuItem>
			
	</h:form>
</h:form>

</body> 
</html>
